package com.phpxiu.app.adapter.holder;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.phpxiu.app.kkylive.R;
import com.phpxiu.app.model.list.C2CConversation;
import com.phpxiu.app.view.custom.FrescoImageView;
import com.phpxiu.app.view.custom.IFrescoImageView;

/**
 * Created by 吴金洲 on 2016/7/25
 */
public class C2CListViewHolder {
    private C2CConversation c2CConversation;
    public IFrescoImageView headView;
    public FrescoImageView lvlView;
    public TextView nickView,timeView,msgView,countView;
    public ImageView sexView;
    public View divider;
    public C2CListViewHolder(View itemView) {
        headView=(IFrescoImageView)itemView.findViewById(R.id.friend_head_view);
        lvlView=(FrescoImageView)itemView.findViewById(R.id.friend_lv_icon);
        sexView=(ImageView)itemView.findViewById(R.id.friend_sex_icon);
        nickView=(TextView)itemView.findViewById(R.id.friend_nick_view);
        timeView=(TextView)itemView.findViewById(R.id.c2c_list_time_view);
        msgView=(TextView)itemView.findViewById(R.id.friend_last_msg_info_view);
        countView=(TextView)itemView.findViewById(R.id.c2c_conversation_un_read_count_view);
        divider=itemView.findViewById(R.id.item_divider);
    }

    public C2CConversation getC2CConversation() {
        return c2CConversation;
    }

    public void setC2CConversation(C2CConversation c2CConversation) {
        this.c2CConversation = c2CConversation;
    }
}
